package com.person.yhzs.user.entity;

import java.io.Serializable;

/**
 * @author luolin
 * @Description
 * @createTime 2022年11月02日 16:31:00
 */
public class Role implements Serializable {
    private static final long serialVersionUID = 8232023557252720272L;

    // 角色id
    private Long id;

    // 角色姓名
    private String name;

    // 创建者id
    private Long createUserId;

    // 修改时间
    private String updateTime;

    // 详情
    private String details;

    // 创建时间
    private String createTime;

    // 权限的ids
    private String permissions;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getDetails() {
        return details;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getPermissions() {
        return permissions;
    }

    public void setPermissions(String permissions) {
        this.permissions = permissions;
    }

    @Override
    public String toString() {
        return "Role{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", createUserId=" + createUserId +
                ", updateTime='" + updateTime + '\'' +
                ", details='" + details + '\'' +
                ", createTime='" + createTime + '\'' +
                ", permissions='" + permissions + '\'' +
                '}';
    }
}
